﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using Newtonsoft.Json;

namespace KDSugar.Galaxy.API.MetaData.Result
{
    /// <summary>
    /// 元数据字段信息类
    /// </summary>
    public class MDFieldInfo
    {
        /// <summary>
        /// 标识
        /// </summary>
        public string Key { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public List<Helper.KVName> Name { get; set; }

        /// <summary>
        /// 字段名
        /// </summary>
        public string FieldName { get; set; }

        /// <summary>
        /// 字段类型名称
        /// </summary>
        public string PropertyName { get; set; }

        /// <summary>
        /// 字段类型内码
        /// </summary>
        public long FieldType { get; set; }

        /// <summary>
        /// 隶属实体
        /// </summary>
        public string EntityKey { get; set; }

        /// <summary>
        /// 隶属表名
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// ElementType
        /// </summary>
        public long ElementType { get; set; }

        /// <summary>
        /// MustInput
        /// </summary>
        public long MustInput { get; set; }

        /// <summary>
        /// LookUpObjectFormId
        /// </summary>
        public object LookUpObjectFormId { get; set; }

        /// <summary>
        /// EnumObjectId
        /// </summary>
        public object EnumObjectId { get; set; }

        /// <summary>
        /// Extends
        /// </summary>
        public object Extends { get; set; }
    }
}
